﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RemoteLinqBase.ClientBase;

namespace RemoteLinqClient
{
	public static class LinqExtension
	{
		/// <summary>
		/// Ases the queryable.
		/// </summary>
		/// <typeparam name="T">Type.</typeparam>
		/// <returns>Queryable for </returns>
		public static IQueryable<T> AsQueryable<T>()
		{
			return new ClientQuery<T>(new ClientQueryProvider(typeof(T)));
		}
	}
}
